package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.RefundinfoDao;
import io.renren.modules.generator.entity.RefundinfoEntity;
import io.renren.modules.generator.service.RefundinfoService;



@Service("refundinfoService")
public class RefundinfoServiceImpl implements RefundinfoService {
	@Autowired
	private RefundinfoDao refundinfoDao;
	
	@Override
	public RefundinfoEntity queryObject(String refundno){
		return refundinfoDao.queryObject(refundno);
	}
	
	@Override
	public List<RefundinfoEntity> queryList(Map<String, Object> map){
		return refundinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return refundinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(RefundinfoEntity refundinfo){
		refundinfoDao.save(refundinfo);
	}
	
	@Override
	public void update(RefundinfoEntity refundinfo){
		refundinfoDao.update(refundinfo);
	}
	
	@Override
	public void delete(String refundno){
		refundinfoDao.delete(refundno);
	}
	
	@Override
	public void deleteBatch(String[] refundnos){
		refundinfoDao.deleteBatch(refundnos);
	}
	
}
